<%@ page language="java" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
	<title>数据结构在线考试系统</title>
<link rel="Shortcut Icon" href="/images/favicon.ico">
<script language="JavaScript" src="/js/FoshanRen.js"></SCRIPT>
<style type="text/css">
td {
	font-size: 12px;
	color: #007AB5;
}
.submit{
	border: 0px;
	height: 26px;
	color: #007AB5;
}
body {
	background-color: #9CDCF9;
}
</style>
<script language="JavaScript">
//<!--
function verifyForm(objForm){
	if (trim(objForm.username.value)==""){
		alert("用户名不能为空!");
		objForm.userName.focus();
		return false; 
	}
	if (trim(objForm.password.value)==""){
		alert("密码不能为空!");
		objForm.password.focus();
		return false; 
	}
	return true;
}

function SureSubmit(objForm){
	if(verifyForm(objForm))
		objForm.submit();
}

function locateparentwindow(){
	if (window.parent!=null && window.parent.document.URL!=document.URL){
		window.parent.location= document.URL; 
	}
} 
//-->
</script>
  </head>
  
 <body onload="JavaScript:locateparentwindow()">
   <form method="post" action="admin/index.html">
    <div style="margin-top: 100px;" align="center">
    <table><tr><td style="background:url(/images/login_back.gif) repeat-x; height: 248px; width: 220px;">
        <table width="190" border="0" align="center" cellpadding="2" cellspacing="0">
            <tr>
              <td height="40" colspan="2"></td>
            </tr>
            <tr>
              <td width="60" height="30" align="left">登录名称</td>
              <td><input name="username" type="text" style="border:solid 1px #27B3FE; height:20px; background-color:#FFFFFF" size="14"/></td>
            </tr>
            <tr>
              <td height="30" align="left">登录密码</td>
              <td><input name="password" type="password" style="border:solid 1px #27B3FE; height:20px; background-color:#FFFFFF"  size="16"/></td>
            </tr>
            <tr>
              <td height="40" colspan="2"  align="center">
                  <img src="/images/tip.gif" width="16" height="16"> 请勿非法登录！</td>
            </tr>
            <tr>
              <td colspan="2" align="center">
                <input class="submit" type="button" onclick="javascript:SureSubmit(this.form)" style="background:url(/images/login_submit.gif) no-repeat;" value=" 登  录 "/> 
			  </td>
           </tr>
    </table>
    </td></tr></table>
    </div>
     </form>
  </body>
</html>
